import request from '../utils/request'

export const uploadImgFile=(file)=>{
  return request({
    url:"/uploadImgFile",
    method:"post",
    /*params是以http:localhost：8081/current=a&size=反回出去的*/
    params:{
      file
    }
  })
}

export const deleteImgFile=(file)=>{
  return request({
    url:"/deleteImgFile",
    method:"post",
    /*params是以http:localhost：8081/current=a&size=反回出去的*/
    params:{
      file
    }
  })
}
